POV-Ray : Newsgroups : povray.general : Ray Intersection : Re: Ray Intersection Server Time
6 Aug 2024 06:20:08 EDT (-0400)
  Re: Ray Intersection  
From: Mike Williams
Date: 30 Apr 2002 13:47:56
Message: <u$SwSFAAjtz8Ewmb@econym.demon.co.uk>
Wasn't it Alastair Murray who wrote:
>Regardless, I still need a way of knowing how the y-coordinate at any
>particular point on a height field.

#declare Point = trace(My_Heightfield, <X,0,Z>, y);
#declare Y = Point.y;

(Actually that assumes that your height field always has y positive.)

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.